package com.booking.controller.model.req.order;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
@Data
public class ServiceOrderCommentReq {
    /**
     * 用户ID
     */
    @NotNull(message = "用户id不能为空")
    private Long userId;
    /**
     * 服务订单ID
     */
    @NotNull(message = "服务订单id不能为空")
    private Long serviceOrderId;
    @NotEmpty(message = "内容不能为空")
    private String content;
    /**
     * 评分
     */
    @NotNull(message = "评分不能为空")
    private Integer score;
    /**
     * 用户点赞
     */
    private Integer userLike;

}
